From b51775ed9a85f47290b85adc0eed963a03c27ceb Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 26 Dec 2008 06:41:23 +0000 Subject: [PATCH] Turn into a refenty svn path=/trunk/; revision=21932 --- docs/reference/ChangeLog | 5 ++ docs/reference/gtk/drawing-model.xml | 91 +++++++++++++--------------- 2 files changed, 48 insertions(+), 48 deletions(-) diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 8052f314f6..82cae93173 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,8 @@ +2008-12-26 Matthias Clasen + + * gtk/drawing-model.sgml: Turn into a refentry to fit better in + the overall formatting. + 2008-12-25 Matthias Clasen * gdk/gdk-docs.sgml: Add a "Since 2.16" index diff --git a/docs/reference/gtk/drawing-model.xml b/docs/reference/gtk/drawing-model.xml index 18f0ee7ae9..7c0d20ea6a 100644 --- a/docs/reference/gtk/drawing-model.xml +++ b/docs/reference/gtk/drawing-model.xml @@ -2,22 +2,34 @@ - - The GTK+ Drawing Model - - - This chapter describes the GTK+ drawing model in detail. If you - are interested in the procedure which GTK+ follows to draw its - widgets and windows, you should read this chapter; this will be - useful to know if you decide to implement your own widgets. This - chapter will also clarify the reasons behind the ways certain - things are done in GTK+; for example, why you cannot change the - background color of all widgets with the same method. - - -
+ + +The GTK+ Drawing Model +3 +GTK Library + + + +The GTK+ Drawing Model + + The GTK+ drawing model in detail + + + + + Overview of the drawing model + + This chapter describes the GTK+ drawing model in detail. If you + are interested in the procedure which GTK+ follows to draw its + widgets and windows, you should read this chapter; this will be + useful to know if you decide to implement your own widgets. This + chapter will also clarify the reasons behind the ways certain + things are done in GTK+; for example, why you cannot change the + background color of all widgets with the same method. + + Programs that run in a windowing system generally create rectangular regions in the screen called @@ -66,7 +78,7 @@ of the resources they use from the windowing system. -
+ Window and no-window widgets @@ -159,9 +171,9 @@ well. Widgets may have more than one window if they want to define different regions for capturing events. -
+ -
+ Hierarchical drawing @@ -288,9 +300,9 @@ itself in turn, GTK+ uses a double-buffering mechanism. The following sections describe this mechanism in detail. -
+ -
+ Notes on drawing no-window widgets @@ -315,9 +327,9 @@ then your drawing origin should be at (5, 6), not at (0, 0). -
+ -
+ Drawing over child windows @@ -331,10 +343,10 @@ linkend="gdk-Graphics-Contexts">GdkGC which you use for drawing. -
-
+ + -
+ Double buffering @@ -392,7 +404,7 @@ the buffer onto the on-screen window, and frees the buffer. -
+ Automatic double buffering @@ -459,10 +471,10 @@ my_widget_init (MyWidget *widget) gdk_window_end_paint() by hand to use temporary drawing buffers. -
-
+ + -
+ App-paintable widgets @@ -563,29 +575,12 @@ gtk_window_expose (GtkWidget *widget, is intended to be drawn on. -
- -
- TODO - - - - - APP_PAINTABLE: link the flag's documentation to this document. - - - - - DOUBLE_BUFFERED: link the flag's documentation to this document. - - - -
-
+ + -- 2.30.2